import { MXNativeAPI } from 'mx-libs'
import apiConfig from './config'
import nativeAPIWrapper from './src/api-wrapper'

const Native = new MXNativeAPI()
Native.registerApis(apiConfig)
Native.install = Vue => Vue.prototype.$_native = Native

console.log('Native.api>>>>', Native.api);

export default nativeAPIWrapper(Native)
